package com.fushenlan.epidemicControl.dto.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhulei
 * @DATE 2022/4/25
 * @PACKAGE_NAME com.fushenlan.po.dto
 * @VERSION 1.0
 * 核酸申请记录关联
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class NucleinDetectionApplyRecordRelationReqDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "'核酸检测申请记录id'",required = true)
    private Long detectionApplyId;

    @ApiModelProperty(value = "1-全部小区 2-指定小区 3-指定检测人员 4-阳性及密接人员",required = true)
    private Integer detectionType;
    /**
     * 检测时间
     */
    @ApiModelProperty(value = "'小区/人员 id'",required = true)
    private String relationId;

    private String createUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;


    private String updateUser;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date updateTime;

}
